from django.urls import path
from .views import *

app_name = 'user'

urlpatterns = [
    path('register/', register, name='register'),

    path('login/', login, name='login'),
    path('logout/', logout, name='logout'),
    path('change_password/', change_password, name='change_password'),
    path('change_head/', change_head, name='change_head'),
    path('center/', center, name='center'),
    path('active/<str:id>', active, name='active'),

    path('change_name/', change_name, name='change_name'),
    path('my_collections/', my_collections, name='my_collections'),
    path('delete_question/<int:question_id>/', delete_question, name='delete_question'),

    # path('create/', CreateBook.as_view(), name='create_book'),
    # path('update/<int:pk>/', UpdateBook.as_view(), name='update_book'),
    # path('delete/<int:pk>/', DeleteBook.as_view(), name='delete_book'),
    # path('detail_own/<int:pk>/', DetailBookOwn.as_view(), name='detail_own_book'),
]